﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpringStudio.DAL.PaginationHandler
{
    /// <summary>
    /// 排序字段
    /// </summary>
    public class PaginationOrderField
    {
        public PaginationOrderField(string field, string direction)
        {
            this._field = field;
            this._direction = direction.ToLower();
        }

        private string _field;
        /// <summary>
        /// 排序字段
        /// </summary>
        public string FieldName
        {
            get { return this._field; }
        }

        private string _direction;
        /// <summary>
        /// 排序方向
        /// </summary>
        public string Direction
        {
            get { return this._direction; }
        }
    }
}
